package com.fengstyle.demo.minio.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yuhf
 */
@Component
@ConfigurationProperties(prefix = "minio.config")
@Data
public class MinioConfig {

    private String ip;

    private Integer port;

    private String accessKey;

    private String secretKey;

    private boolean secure;

    private String bucketName;

    private String downloadDir;

}
